﻿using Blogs.ModelDB.DTO;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Blogs.ModelDB
{
    public partial class BlogUsersSet
    {
        public BlogUserDTO ToDTO()
        {
            return new BlogUserDTO()
            {
                UserName = this.UserName,
                UserMail = this.UserMail,
                UserNickname = this.UserNickname
            };
        }
    }
}
